package org.example.dao.entity.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * (UUserLabel)实体类
 *
 * @author makejava
 * @since 2023-09-23 16:17:42
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UUserLabel implements Serializable {
    private static final long serialVersionUID = 997907861675172773L;
    
    private Long id;
    
    private Long labelId;
    
    private Long userId;
    
    private Date createTime = new Date();
    
    private Date updateTime = new Date();
    
    private Integer isValid = 1;


    public UUserLabel(Long nextId, Long userId, Long labelId) {
        this.id = nextId;
        this.userId = userId;
        this.labelId = labelId;
    }
}

